package one.stand.fallback;

import one.stand.feign.OssFegin;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
/**
 * @author Administrator
 */
@Component
public class OssFallBack implements OssFegin {

    @Override
    public ResultModel<String> uploadObjectOSS(MultipartFile file) {
        return ResultModel.faultTolerant();
    }

}
